<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<html>
<body>
<script type="text/javascript">
$(document).ready(function(){
	$("#sceneType").val(${sceneType});
});
</script>
<ul class="breadcrumb">
  <li><a href="../money/roomGift.do">房间送礼</a> <span class="divider">/</span></li>
  <li><a href="../money/roomItem.do">房间道具</a> <span class="divider">/</span></li>
  <li><a href="../money/roomConsumeRank.do">房间消费排行</a> <span class="divider">/</span></li>
  <li><a href="roomMikeList.do">房间上麦查询</a></li>
</ul>
<form class="form-inline" action="" method="get">
类型：<select class="input-small" name="sceneType" id="sceneType">
		  	<option value="0">0-k歌房</option>
		  	<option value="1" selected>1-大众房</option>
</select>
场景id：<input type="text" placeholder="" name="roomId" value="${roomId}"/>&nbsp;&nbsp;
从
  <div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${beginDate}" name="beginDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
  到
  <div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${endDate}" name="endDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
  <button type="submit" class="btn">查询</button>
</form>
<table class="table table-bordered">
  <thead>
    <tr>
      <th>序号</th>
      <th>房间名字</th>
      <th>房主</th>
      <th>上麦人数</th>
      <th>上麦次数</th>
    </tr>
  </thead>
  <tbody>
  <c:forEach var="m" items="${list}" varStatus="vs">
    <tr>
      <td>${vs.count}</td>
      <td>${m.name}</td>
      <td><tags:user id="${m.playerId}"></tags:user></td>
      <td>${m.people}</td>
      <td>${m.times}</td>
    </tr>
  </c:forEach>
  </tbody>
</table>
</body>
</html>